//
//  AppDelegate.m
//  AutoTest
//
//  Created by Viking Lai on 2018/5/25.
//  Copyright © 2018年 Viking Lai. All rights reserved.
//

#import "AppDelegate.h"
#import "TestView.h"
@interface AppDelegate ()
{
    TestView *testView;
}

@property (weak) IBOutlet NSWindow *window;
@end

@implementation AppDelegate

- (void)applicationDidFinishLaunching:(NSNotification *)aNotification {
    // Insert code here to initialize your application
    NSString* sript = @"TestScript.plist";
    NSString *scriptPah = [[NSBundle mainBundle] pathForResource:[sript stringByDeletingPathExtension] ofType:[sript pathExtension]];
    testView = [[TestView alloc]initWithScriptName:scriptPah];
    _boxView.contentView = testView.view;
}


- (void)applicationWillTerminate:(NSNotification *)aNotification {
    // Insert code here to tear down your application
}


@end
